package com.enen.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class ProfileResult {
    //    ID
    @TableId(type= IdType.AUTO)
    private Integer Id;
    //    电话
    private String Phone;
    //    权限
    private int Status;

//    姓名
    private String name;

    public  ProfileResult(Old old){
        this.Id = old.getOldId();
        this.Phone = old.getOldPhone();
        this.Status = old.getOldStatus();
        this.name = old.getOldName();
    }
}
